package com.irdstudio.efp.limit.service.dao;

import java.util.List;

import com.irdstudio.efp.limit.service.domain.LmtIndivAppExt;
import com.irdstudio.efp.limit.service.vo.LmtIndivAppExtVO;

/**
 * <p>
 * 个人授信申请拓展表的DAO类
 * </p>
 * @author szbd
 * @createDate 2018-09-04 19:51:27
 */
public interface LmtIndivAppExtDao {
    
    /**
     * 插入个人授信申请拓展表记录
     * @param lmtIndivAppExt
     * @return
     */
    public int insertLmtIndivAppExt(LmtIndivAppExt lmtIndivAppExt);
    
    /**
     * 根据主键删除个人授信申请拓展表记录
     * @param lmtIndivAppExt
     * @return
     */
    public int deleteLmtIndivAppExtByPk(LmtIndivAppExt lmtIndivAppExt);
    
    /**
     * 根据主键更新个人授信申请拓展表记录
     * @param lmtIndivAppExt
     * @return
     */
    public int updateLmtIndivAppExtByPk(LmtIndivAppExt lmtIndivAppExt);
    
    /**
     * 根据主键查询个人授信申请拓展表记录
     * @param lmtIndivAppExt
     * @return
     */
    public LmtIndivAppExt queryLmtIndivAppExtByPk(LmtIndivAppExt lmtIndivAppExt);
    
    /**
     * 条件查询单笔个人授信申请拓展表记录
     * @param lmtIndivAppExt
     * @return
     */
    public LmtIndivAppExt querySingleLmtIndivAppExtByCondition(LmtIndivAppExt lmtIndivAppExt);
    
    /**
     * 查询个人授信申请拓展表记录
     * @param lmtIndivAppExtVo 查询条件
     * @return 列表
     */
    public List<LmtIndivAppExt> queryLmtIndivAppExtByCondition(LmtIndivAppExtVO lmtIndivAppExtVo);
    
    /**
     * 条件分页查询个人授信申请拓展表记录
     * @param lmtIndivAppExtVo 查询条件
     * @return 列表
     */
    public List<LmtIndivAppExt> queryLmtIndivAppExtByConditionByPage(LmtIndivAppExtVO lmtIndivAppExtVo);
    
    /**
     * 查询本人所属的记录
     * @param lmtIndivAppExtVo
     * @return
     */
    public List<LmtIndivAppExt> queryAllOwnerByPage(LmtIndivAppExtVO lmtIndivAppExtVo);
    
    /**
     * 查询本机构的记录
     * @param lmtIndivAppExtVo
     * @return
     */
    public List<LmtIndivAppExt> queryAllCurrOrgByPage(LmtIndivAppExtVO lmtIndivAppExtVo);
    
    /**
     * 查询本机构及下属机构的记录
     * @param lmtIndivAppExtVo
     * @return
     */
    public List<LmtIndivAppExt> queryAllCurrDownOrgByPage(LmtIndivAppExtVO lmtIndivAppExtVo);
}